﻿using AutoMapper;
using BCDto.Sim.CompanyBusinessType;
using BCEntity.Sim.Company.CompanyBusinessType;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.MapperProfiles.Sim.Company.CompanyBusinessType
{
    public class CompanyBusinessTypeProfile : Profile
    {
        public CompanyBusinessTypeProfile()
        {
            CreateMap<CompanyBusinessTypeEntity, CompanyBusinessTypeDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<CompanyBusinessTypeDto, CompanyBusinessTypeEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<CompanyBusinessTypeRequestDto, CompanyBusinessTypeEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<CompanyBusinessTypePutDto, CompanyBusinessTypeEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
